function add(a,b)
	return a+b;
end

local status, data = pcall(add, 1, 2)
print(status)
print(data)

------------
cjson = require "cjson"
str = "slslsl"
str2=[[
{"hello":"world"}
]]
local st, data = pcall(cjson.decode, str)
print(st)
local st, data = pcall(cjson.decode, str2)
print(st)